#pragma once

#include "../umlmodel_global.h"

#include "InteractionUse.h"

namespace uml {

/// <summary>
/// PartDecomposition
/// A PartDecomposition is a description of the internal Interactions of one
/// Lifeline relative to an Interaction.
/// </summary>
class UMLMODEL_EXPORT PartDecomposition : public InteractionUse {

public: // Constructors and destructors
    explicit PartDecomposition(const QString& umlType="uml::PartDecomposition");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
